let title = [
    {
        "collation": "utf8_tolower_ci",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "TABLE_CATALOG",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "varchar(64)"
    },
    {
        "collation": "utf8_tolower_ci",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "TABLE_SCHEMA",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "varchar(64)"
    },
    {
        "collation": "utf8_tolower_ci",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "TABLE_NAME",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "varchar(64)"
    },
    {
        "collation": "utf8_tolower_ci",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "COLUMN_NAME",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "varchar(64)"
    },
    {
        "collation": "",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "ORDINAL_POSITION",
        "key": "",
        "null": "NO",
        "privileges": "select",
        "type": "int(10) unsigned"
    },
    {
        "collation": "utf8_bin",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "COLUMN_DEFAULT",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "text"
    },
    {
        "collation": "utf8_general_ci",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "IS_NULLABLE",
        "key": "",
        "null": "NO",
        "privileges": "select",
        "type": "varchar(3)"
    },
    {
        "collation": "utf8_bin",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "DATA_TYPE",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "longtext"
    },
    {
        "collation": "",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "CHARACTER_MAXIMUM_LENGTH",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "bigint(21)"
    },
    {
        "collation": "",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "CHARACTER_OCTET_LENGTH",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "bigint(21)"
    },
    {
        "collation": "",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "NUMERIC_PRECISION",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "bigint(10) unsigned"
    },
    {
        "collation": "",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "NUMERIC_SCALE",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "bigint(10) unsigned"
    },
    {
        "collation": "",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "DATETIME_PRECISION",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "int(10) unsigned"
    },
    {
        "collation": "utf8_general_ci",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "CHARACTER_SET_NAME",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "varchar(64)"
    },
    {
        "collation": "utf8_general_ci",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "COLLATION_NAME",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "varchar(64)"
    },
    {
        "collation": "utf8_bin",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "COLUMN_TYPE",
        "key": "",
        "null": "NO",
        "privileges": "select",
        "type": "mediumtext"
    },
    {
        "collation": "utf8_bin",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "COLUMN_KEY",
        "key": "",
        "null": "NO",
        "privileges": "select",
        "type": "enum('','PRI','UNI','MUL')"
    },
    {
        "collation": "utf8_bin",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "EXTRA",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "varchar(57)"
    },
    {
        "collation": "utf8_general_ci",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "PRIVILEGES",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "varchar(154)"
    },
    {
        "collation": "utf8_bin",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "COLUMN_COMMENT",
        "key": "",
        "null": "NO",
        "privileges": "select",
        "type": "text"
    },
    {
        "collation": "utf8_bin",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "GENERATION_EXPRESSION",
        "key": "",
        "null": "NO",
        "privileges": "select",
        "type": "longtext"
    },
    {
        "collation": "",
        "comment": "",
        "default": "",
        "extra": "",
        "field": "SRS_ID",
        "key": "",
        "null": "YES",
        "privileges": "select",
        "type": "int(10) unsigned"
    }
]

let data = {
    "characterMaximumLength": 0,
    "characterOctetLength": 0,
    "characterSetName": "",
    "collationName": "",
    "columnComment": "这是测试注释",
    "columnDefault": "",
    "columnName": "ACCOUNT_AUTH_ID",
    "columnType": "decimal(32,0)",
    "dataType": "decimal",
    "datetimePrecision": 0,
    "extra": "",
    "generationExpression": "",
    "isNullable": "YES",
    "numericPrecision": 32,
    "numericScale": 0,
    "ordinalPosition": 2,
    "privileges": "select,insert,update,references",
    "searchStr": "",
    "srsId": 0,
    "tableCatalog": "def",
    "tableName": "account_auth_sites",
    "tableSchema": "sellerbar"
}

let _data = {}

const pArr = Object.keys(data).map(key => {
    _data[key.toUpperCase()] = data[key];
});

let ss = title.map((item) => (
    item.field.replace(/_/g, "")
)).map(item => (
    _data[item]
));

console.log(_data);

console.log(ss)


